CanSetCookieCallback

public interface CanSetCookieCallback implements NetworkSyncCallback<P, R>

The callback is invoked to check if the given cookie can be set or not.

Use the can method to allow the engine to set the cookie.

Use the cannot} method to disallow the engine to set the cookie.

If the callback throws an exception, the can method will be invoked.

Types

Link copied to clipboard
public interface Params
The parameters of the CanSetCookieCallback.
Link copied to clipboard
public interface Response
A response for CanSetCookieCallback.

Functions

Link copied to clipboard
@CheckForNull()
public abstract R on(P params)
Invoked when the callback needs a response of type R that may be determined based on the provided callback parameters.